package top.ahzy.seobench.model.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("seo_img_info")
@ApiModel(value = "图片信息", description = "图片信息表")
public class ImgInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("id")
    private String id;

    @ApiModelProperty("站点")
    @TableField("website")
    private String website;

    @ApiModelProperty("地址")
    @TableField("url")
    private String url;

    @ApiModelProperty("路径")
    @TableField("img_route")
    private String imgRoute;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private Date createTime;
}
